//
//  NSDate+WTF.m
//  Courses
//
//  Created by xxx on 15/1/11.
//  Copyright (c) 2015年 wtf. All rights reserved.
//

#import "NSDate+WTF.h"

@implementation NSDate (WTF)

+ (NSString *)monthDayStringWithFullDateString:(NSString *)fullDateString
{
    NSString *monthDayString = @"";
    
    
    
    return monthDayString;
}

+ (NSString *)hourMinStringWithFullDateString:(NSString *)fullDateString
{
    NSRange range;
    range.location = [fullDateString rangeOfString:@" "].location + 1;
    range.length = 5;
    return [fullDateString substringWithRange:range];
}

+ (NSString *)monthStringForDateString:(NSString *)dateString
{
    NSRange range;
    range.location = [dateString rangeOfString:@"-"].location + 1;
    range.length = 2;
    int monthNum = [[dateString substringWithRange:range] intValue];
    return [NSString stringWithFormat:@"%d月", monthNum];
}

@end
